package model.entities;

import java.awt.Point;

/**
 * 
 * @author ben
 *
 */
public class LaserBeamSegment {

	private Point startCell;
	private Point endCell;
	private boolean hitEdge = false;
	private Direction direction;
	
	public LaserBeamSegment(Point startCell, Point endCell, Direction direction) {
		this.setDirection(direction);
		this.startCell = startCell;
		this.endCell = endCell;
	}

	public Point getEndCell() {
		return endCell;
	}

	public void setEndCell(Point endCell) {
		this.endCell = endCell;
	}

	public Point getStartCell() {
		return startCell;
	}

	public void setStartCell(Point startCell) {
		this.startCell = startCell;
	}

	public boolean isHitEdge() {
		return hitEdge;
	}

	public void setHitEdge(boolean hitEdge) {
		this.hitEdge = hitEdge;
	}

	public Direction getDirection() {
		return direction;
	}

	public void setDirection(Direction direction) {
		this.direction = direction;
	}
	
}
